package com.minivision.fdiot.rest.param.detect;

import org.springframework.web.multipart.MultipartFile;

import com.minivision.fdiot.common.AuthParam;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class CompareParam extends AuthParam {

  private static final long serialVersionUID = -4720625030329496752L;

  @ApiModelProperty(value = "人脸Token")
  private String faceToken1;
  @ApiModelProperty(value = "人脸照片链接")
  private String imageUrl1;
  @ApiModelProperty(value = "人脸照片文件")
  private MultipartFile imageFile1;

  @ApiModelProperty(value = "人脸Token")
  private String faceToken2;
  @ApiModelProperty(value = "人脸照片链接")
  private String imageUrl2;
  @ApiModelProperty(value = "人脸照片文件")
  private MultipartFile imageFile2;

  @Override
  public String toString() {
    return "CompareParam [faceToken1=" + faceToken1 + ", imageUrl1=" + imageUrl1 + ", imageFile1="
        + imageFile1.getOriginalFilename() + ", faceToken2=" + faceToken2 + ", imageUrl2=" + imageUrl2 
        + ", imageFile2=" + imageFile2.getOriginalFilename() + "]";
  }

}
